Use description as name source when we don't have notes in maggeo.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 15 May 2007 21:56:40 +0000 (21:56 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 15 May 2007 21:56:40 +0000 (21:56 +0000)
gpsbabel/maggeo.c

index e738685a8b5eca213dc5f55a93b814520a8bf308..a86cc6ba12e15fb206efd9f191380fae17da97e6 100644 (file)
@@ -174,7 +174,7 @@ maggeo_waypt_pr(const waypoint *waypointp)
        }
        placeddate = maggeo_fmtdate(waypointp->creation_time);
        lfounddate = maggeo_fmtdate(waypointp->gc_data.last_found);
-       cname = mkshort(desc_handle, waypointp->notes ? waypointp->notes : waypointp->shortname);
+       cname = mkshort(desc_handle, waypointp->notes ? waypointp->notes : waypointp->description);
        placer = waypointp->gc_data.placer;
 
        /*